package com.notary.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.notary.entity.Deposit;
import com.notary.entity.vo.JsonResult;
import org.springframework.web.multipart.MultipartFile;

public interface DepositService extends IService<Deposit> {

    JsonResult<IPage<Deposit>> queryList(JSONObject jsonObject);

    JsonResult checkDeposit(Integer id, MultipartFile file, String hashCode, String originalHash);

    JsonResult unzip(Integer id, String hashCode);

    JsonResult chuzheng(Integer id) throws Exception;

    JsonResult applyChuZheng(JSONObject jsonObject);

    JsonResult download(JSONObject jsonObject);
}
